package com.example.rk.service;


import com.example.rk.common.MyPageInfo;
import com.example.rk.entity.User;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    void deleteById(int id);


    User findById(int id);

    MyPageInfo findBySearch1(HttpServletRequest request, int id);

    MyPageInfo findBySearch2(HttpServletRequest request, int id);


    String doEdit1(int user);

    String doEdit2(int user);

    void doAdd1(User user);

    void doAdd2(User user);

    String getinformation(int sid);

    String getposition(int sid);

    int getsid(int id);

    int getcid(int id);

    String getname(int id);

    String getposition2(int id);

    MyPageInfo findBySearchxs(HttpServletRequest request, int id);

    MyPageInfo findBySearchgs(HttpServletRequest request, int id);

    String getgsphone(int id);

    String getxsphone(int id);

    MyPageInfo findBySearchxs1(HttpServletRequest request, int id);

    MyPageInfo findBySearchgs1(HttpServletRequest request, int id);

    ;
}
